    $(function () {
        $("#submitBtn").on("click",function () {
            $("#login_form").form("submit",{
                url:"/login",
                success:function (data) {
                    //console.log(data);
                    data = $.parseJSON(data);
                    if(data.success){
                        window.location.href="/index";
                    }else{
                        $.messager.alert("温馨提示",data.msg);
                    }
                }
            })
        })
    })
jQuery(document).ready(function() {





	// If firefox
	if(navigator.userAgent.toLowerCase().match(/firefox/)) {
		$('.browser-warning').removeClass('hidden');
		setTimeout(function() {
			$('.browser-warning').addClass('hidden');
		}, 6*1000);
	}

	// Display window (and start animation) when document is ready
	// This mininizes the risk of firefox messing up
	$('#window').attr('style', '');






});